package com.charley.icloud.swagger;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(SwaggerProperties.PREFIX)
public class SwaggerProperties {

    public static final String PREFIX = "swagger";

    /**
     * 文档扫描包路径
     */
    private String basePackage = "";

    /**
     * title 如: 用户模块系统接口详情
     */
    private String title = "平台系统接口详情";

    /**
     * 服务文件介绍
     */
    private String description = "在线文档";

    /**
     * 服务条款网址
     */
    private String termsOfServiceUrl = "http://www.charleyg.com/";

    /**
     * 版本
     */
    private String version = "V1.0";

    /**
     * 作者
     * */
    private String author = "Charley";

    /**
     * 邮箱
     * */
    private String email = "101244576@qq.com";

    /**
     * 分组名称
     * */
    private String groupName = "default";

    /**
     * 是否优化 网关 select a spec 列表
     */
    private Boolean isOptimizeLocation = true;

    public String getBasePackage() {
        return basePackage;
    }

    public void setBasePackage(String basePackage) {
        this.basePackage = basePackage;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getTermsOfServiceUrl() {
        return termsOfServiceUrl;
    }

    public void setTermsOfServiceUrl(String termsOfServiceUrl) {
        this.termsOfServiceUrl = termsOfServiceUrl;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public Boolean getIsOptimizeLocation() {
        return isOptimizeLocation;
    }

    public void setIsOptimizeLocation(Boolean isOptimizeLocation) {
        this.isOptimizeLocation = isOptimizeLocation;
    }

}
